<%@ page language="java" contentType="textml; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@page import="com.hero.core.constant.SysDicConstant" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="textml; charset=UTF-8">
<title>User</title>
<script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
<script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
<link href="${cdnAddress}/css/common_from_table.css${cacheVersion}" rel="stylesheet" type="text/css" />

</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
	<form id="form1" method="post">
		<div>
			<div style="padding: 8px;" id="baseinfo">
				<fieldset style="border: solid 1px #aaa; padding: 8px;">
				<legend>基础信息</legend>
				<input type="hidden" class="mini-hidden" id="EQ_TYPE_NAME" name="EQ_TYPE_NAME" placeholder="设备类型名称" />
				<input type="hidden" class="mini-hidden" id="EQ_NAME"  name="EQ_NAME" placeholder="设备名称" />
				<input type="hidden" class="mini-hidden" id="ORG_ID"  name="ORG_ID" placeholder="组织机构" />
				<input type="hidden" class="mini-hidden" id="CONTRACT_NO"  name="CONTRACT_NO" placeholder="合同号" />
				<input  class="mini-hidden" id="EQ_CODE" name="EQ_CODE"  placeholder="设备代号"/>
				<input  class="mini-hidden" id="SUPPLIER_ID" name="SUPPLIER_ID"  placeholder="供应商id"/>
				<input  class="mini-hidden" id="SUPPLIER_NAME" name="SUPPLIER_NAME"  placeholder="供应商name"/>
				
				<table class="commonTable">
				<tr class="commonTr"> 
				<td>设备类型:</td><td><input class="mini-comboBox" id="EQ_TYPE_ID" name="EQ_TYPE_ID" 
		           	 	 		emptyText="请选择"  textField="dicName" valueField="dicVal"  onenter="onKeyEnter"
		           	 	 		url="${projectName}/DictionaryAdmin/queryDictionaryByTypeIds?typeids=53" onvaluechanged="onEqTypeChanged"/></td>
				<td>设备名称:</td><td><input id="EQ_ID" name="EQ_ID"  class="mini-buttonedit"  allowInput="false"   onbuttonclick="onEquipmentEdit"/></td>
				</tr><tr class="commonTr"> 
				<td>设备条码</td><td><input id="EQ_CODE" name="EQ_CODE" class="mini-textbox" /></td>
				<td>安装位置</td><td><input id="INSTALL_ADDR"  name="INSTALL_ADDR" class="mini-textbox" /></td>
				</tr>
				</table>
				</fieldset>
			</div>
			<div style="text-align: center; padding: 10px;" id="buttonarea">
				<a class="mini-button" id="button_okSubTable" onclick="onOkSubTable"
					style="width: 60px; margin-right: 10px;">保存</a><a
					class="mini-button" id="button_onSubTable" onclick="onCancelSubTable"
					style="width: 60px; margin-right: 10px;">取消</a>
					
			</div>
		</div>
	</form>
<script src="${scripts}/tabledefine/custompage/js/addequipment_detail.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>
